package com.stx.House.CGLIB;

public class HouseAgentByStaticForInterface implements IHouseOwner {
    private IHouseOwner owner;
    public HouseAgentByStaticForInterface(IHouseOwner owner) {
        this.owner = owner;
    }
    @Override
    public void tradeHouse() {
        System.out.println("中介替购房者完成筛选房屋...最终选定了一间房。");


        owner.tradeHouse();

        System.out.println("中介替购房者完成与房主签订的售房合同。");

    }
}
